import 'package:flutter_boost/boost_interceptor.dart';
import 'package:flutter_boost/logger.dart';

/**
 * 自定义拦截器
 */
class CustomInterceptor extends BoostInterceptor {
  @override
  void onPush(BoostInterceptorOption option, PushInterceptorHandler handler) {
    print('CustomInterceptor~~~, $option');
    // Add extra arguments
    option.arguments['CustomInterceptor'] = "1";
    super.onPush(option, handler);
  }
}
